package com.ruibang.glass.produce.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruibang.glass.produce.domain.req.ClassReportReq;
import com.ruibang.glass.produce.domain.resp.MainIngredientInfo;
import com.ruibang.glass.produce.entity.ClassReport;

import java.time.LocalDate;

/**
 * <p>
 * 生产-配料-班报填写 服务类
 * </p>
 *
 * @author songJinKang
 * @since 2024-04-17
 */
public interface ClassReportService extends IService<ClassReport> {

    IPage<ClassReport> pageQuery(ClassReportReq classReportReq);

    void deleteById(String id);

    void executeClassReportTask(LocalDate now);

    LocalDate getMaxDate();

    MainIngredientInfo getMainIngredientInfo(LocalDate date);
}
